package cn.amos.mvc.webservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

/**
 * PROJECT: mvc
 * DESCRIPTION: HelloService接口实现
 *
 * @author amos.wang
 * @date 2019/4/9
 */
@WebService(serviceName = "HelloService", targetNamespace = "http://ws.amos.cn")
public interface HelloWSDemo {

    @WebMethod(operationName = "sayHello")
    @WebResult(name = "msg")
    public String sayHello(@WebParam(name = "name") String name);

    public String helloVisitor();

}
